﻿using CarEdge.Infrastructure.Attr;
using CarEdge.Infrastructure.Dto.Request.Consume;
using CarEdge.Infrastructure.Dto.Request.Customer;
using CarEdge.Infrastructure.Dto.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarEdge.Service.Interface.Customer
{
    [Provider_]
    public interface I_Customer_Service
    {
        Task<Api_Response_Dto> AddCustomer(Customer_Request_Dto dto);
        Task<Api_Response_Dto> AddCustomerRecord(Customer_Record_Request_Dto dto);
        Task<Api_Response_Dto> Addvip(Customer_Request_Dto dto);
      
      
        Task<Api_Response_Dto> GetAllCustomers(int page = 1, int limit = 10, string key = "");
        Task<Api_Response_Dto> GetCustomerById(string id);
        Task<Api_Response_Dto> GetCustomerRecordsById(string id);
        Task<Api_Response_Dto> UpdateCustomer(Customer_Request_Dto dto);
        /// <summary>
        /// 获取所有的员工
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> GetAllusers(string key);
        Task<Api_Response_Dto> Recharge(Consume_Request_Dto dto);
        Task<Api_Response_Dto> Consumption(Consume_Request_Dto dto);
    }
}
